package net.apexes.demo.codegen.dslite.entity;


/**
 * AuthUser. the database table "AUTH_USER"
 */
public class AuthUser extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * USERNAME
     */
    private String username;

    /**
     * PASSWORD
     */
    private String password;

    /**
     * NIKE_NAME
     */
    private String nikeName;

    /**
     * EMAIL
     */
    private String email;

    /**
     * MOBILE_NUMBER
     */
    private String mobileNumber;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNikeName() {
        return nikeName;
    }

    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobileNumber() {
        return mobileNumber;
    }

    public void setMobileNumber(String mobileNumber) {
        this.mobileNumber = mobileNumber;
    }

    public void cloneFrom(AuthUser from) {
        this.username = from.username;
        this.password = from.password;
        this.nikeName = from.nikeName;
        this.email = from.email;
        this.mobileNumber = from.mobileNumber;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",username=").append(username);
        sb.append(",password=").append(password);
        sb.append(",nikeName=").append(nikeName);
        sb.append(",email=").append(email);
        sb.append(",mobileNumber=").append(mobileNumber);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

